const KEY = 'geek-client-lx'

const auth = {
  getToken () {
    return localStorage.getItem(KEY)
  },
  setToken (token) {
    localStorage.setItem(KEY, token)
  },
  delToken () {
    localStorage.removeItem(KEY)
  }
}

export default auth
